GetSHXTextFromStyle
Unit: SHX.pas
Description​
Returns the set of TsgSHXVertex basing on text string to SHX Font text string with predefined by the ASHXStyles and PStyle parameters.
| Parameters | Description |
|---|---|
ASHXStyles | The instance of the TsgSHXFontList object |
PStyle | Defines the converting style |
Text | The object of the sgRawByteString type |
WideText | The wide text string |
CodePage | The code page that specifies symbols in SHX. Ignored in Delphi versions older than 2009. |
Poly | The list of the SHX Font text string |
Above | The above value of the SHX Font defined in Font |
Below | The below value of the SHX Font defined in Font |
Left, Bottom, Right, Top | The borders of the real surrounding rectangle |
Returns:
| Value | Description |
|---|---|
Poly | The set of vertexes of the converted SHX Font text string |
Above, Below | The above and below parameters of the SHX Font defined in Font |
Left, Bottom, Right, Top | The border rectangle of the converted SHX Font text string |